

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   b3.java

package com.zelix;

import java.awt.*;
import java.awt.event.*;
import java.util.EventObject;
import javax.swing.*;
import javax.swing.text.JTextComponent;

// Referenced classes of package com.zelix:
//            a3, jo, tb, zo, 
//            jt, to, yw, hs, 
//            k4, a2, q4, j0, 
//            gs

public abstract class b3 extends a3
    implements jo, ActionListener, KeyListener
{

    yw f;
    jt g;
    int h;
    JTextArea i;
    JButton j;
    JButton k;
    JButton l;
    JLabel m;
    JTabbedPane n;
    static String o[];
    static String p[];
    private static String z[];

    public b3(JFrame jframe, String s, jt jt1, int i1, yw yw1)
    {
        super(jframe, s, jt1, new Integer(i1));
        setFont(zo.b());
        f = yw1;
        setIconImage(zo.a(this));
        g();
        jt1.a(this);
    }

    public final void actionPerformed(ActionEvent actionevent)
    {
label0:
        {
            boolean flag = tb.b;
            Object obj = actionevent.getSource();
            if(obj == j)
            {
                j();
                if(!flag)
                    break label0;
            }
            if(obj == k)
            {
                f();
                if(!flag)
                    break label0;
            }
            if(obj == l)
                i();
        }
    }

    protected final void f()
    {
        a();
        f.a();
    }

    protected abstract void i();

    public final void keyPressed(KeyEvent keyevent)
    {
label0:
        {
            boolean flag = tb.b;
            if(keyevent.getKeyCode() != 10)
                break label0;
            if(keyevent.getSource() == j)
            {
                j();
                if(!flag)
                    break label0;
            }
            if(keyevent.getSource() == k)
            {
                f();
                if(!flag)
                    break label0;
            }
            if(keyevent.getSource() == l)
                i();
        }
    }

    public final void keyReleased(KeyEvent keyevent)
    {
    }

    public final void keyTyped(KeyEvent keyevent)
    {
    }

    final void j()
    {
        try
        {
            String s = g.i();
            jt.a(g.n(), s);
            f.a(s);
            a();
        }
        catch(tb tb1)
        {
            new a2(this, z[12], z[13], tb1.getMessage(), false, true);
        }
    }

    final void a(JPanel jpanel)
    {
        j0 j0_1 = new j0(jpanel);
        jpanel.setLayout(j0_1);
        m = new JLabel();
        m.setText(g.i());
        m.setFont(getFont());
        m.setToolTipText(to.b(to.gc));
        jpanel.add(m, z[11]);
        j0_1.a(p);
    }

    protected final void a(Object obj, Object obj1, Object obj2, Object obj3, Object obj4, Object obj5, Object obj6)
    {
        g = (jt)obj;
        h = ((Integer)obj1).intValue();
        Container container = getContentPane();
        j0 j0_1 = new j0(container);
        container.setLayout(j0_1);
        Dimension dimension = Toolkit.getDefaultToolkit().getScreenSize();
        setSize(Math.min(500, dimension.width), Math.min(450, dimension.height));
        j = new JButton(z[3]);
        j.setToolTipText(to.b(to.Lb));
        k = new JButton(z[10]);
        k.setToolTipText(to.b(to.Z));
        l = new JButton(z[1]);
        l.setToolTipText(to.b(to.ab));
        j.addActionListener(this);
        k.addActionListener(this);
        l.addActionListener(this);
        j.addKeyListener(this);
        k.addKeyListener(this);
        l.addKeyListener(this);
        container.add(j, z[8]);
        container.add(k, z[4]);
        container.add(l, z[5]);
        n = new JTabbedPane();
        container.add(n, z[6]);
        JLabel jlabel = new JLabel(z[2]);
        k4 k4_1 = new k4(false);
        a(((JPanel) (k4_1)));
        container.add(jlabel, z[7]);
        container.add(k4_1, z[9]);
        i = new JTextArea();
        i.setEditable(false);
        i.setToolTipText(to.b(to.fb));
        container.add(new q4(i), z[0]);
        i.setText(g.a(h == 1));
        i.setCaretPosition(0);
        j0_1.a(o);
        k();
    }

    abstract void k();

    public final void a(gs gs, Object obj, Object obj1, Object obj2)
    {
        m.setText(g.i());
        i.setText(g.a(h == 1));
        i.setCaretPosition(0);
    }

    private static char[] z(String str) {
        char ac[] = str.toCharArray();
        int clen = ac.length;
        if (clen >= 2)
            return ac;
        ac[0] ^= 0x72;
        return ac;
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key =0x1e;
                    break;
                case 1:
                    key = 15;
                    break;
                case 2:
                    key = 43;
                    break;
                case 3:
                    key =97;
                    break;
                default:
                    key =114;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }



    static 
    {
        String as[] = new String[14];
        as[0] = z(z("{w[\r\023pn_\b\035pNY\004\023"));
        as[1] = z(z("VjG\021"));
        as[2] = z(z("NnY\000\037{{N\023Rm`\013\007\023l5"));
        as[3] = z(z("QD"));
        as[4] = z(z("}nE\002\027rM_\017"));
        as[5] = z(z("vjG\0210ja"));
        as[6] = z(z("jnI\003\027z_J\017\027"));
        as[7] = z(z("nnY\000\037RmG"));
        as[8] = z(z("qdi\025\034"));
        as[9] = z(z("zfX\021\036\177v{\017\036"));
        as[10] = z(z("]nE\002\027r"));
        as[11] = z(z("nnY\000\037ZfX\021\036\177v"));
        as[12] = z(z("[}Y\016\0"));
        as[13] = z(z("[}Y\016\000>xC\b\036{/[\000\000mfE\006RjgNA\005v`G\004R{wH\r\007zj\013\021\023lnF\004\006{}"));
        z = as;
        String as1[] = new String[28];
        as1[0] = z(z("rnR\016\007j!F\b\034IfO\025\032#<\033Q"));
        as1[1] = z(z("rnR\016\007j!F\b\034VjB\006\032j2\030QB"));
        as1[2] = z(z("jnI\003\027z_J\017\0270{D\021O+"));
        as1[3] = z(z("jnI\003\027z_J\017\0270cN\007\006#:"));
        as1[4] = z(z("jnI\003\027z_J\017\0270}B\006\032j2H\016\034jnB\017\027l!Y\b\025v{\006T"));
        as1[5] = z(z("nnY\000\037RmGO\021{a_\004\000G2O\b\001ncJ\030\"pc\005\002\027p{N\023+"));
        as1[6] = z(z("nnY\000\037RmGO\036{i_\\C."));
        as1[7] = z(z("zfX\021\036\177v{\017\0360{D\021OjnI\003\027z_J\017\0270mD\025\006qb\000PB"));
        as1[8] = z(z("zfX\021\036\177v{\017\0360cN\007\006#\177J\023\023sCI\r\\lfL\t\0065<"));
        as1[9] = z(z("zfX\021\036\177v{\017\0360}B\006\032j2H\016\034jnB\017\027l!Y\b\025v{\006T"));
        as1[10] = z(z("{w[\r\023pn_\b\035pNY\004\0230cN\007\006#:"));
        as1[11] = z(z("{w[\r\023pn_\b\035pNY\004\0230{D\021OzfX\021\036\177v{\017\0360mD\025\006qb\000T"));
        as1[12] = z(z("{w[\r\023pn_\b\035pNY\004\0230}B\006\032j2H\016\034jnB\017\027l!Y\b\025v{\006T"));
        as1[13] = z(z("{w[\r\023pn_\b\035pNY\004\0230mD\025\006qb\026\002\035p{J\b\034{}\005\003\035j{D\f_|{E)\027whC\025_/?"));
        as1[14] = z(z("|{E6\033z{C\\\037\177w\003\016\031\\{EO\026{iJ\024\036jXB\005\006v#\013\002\023plN\r0ja\005\005\027xn^\r\006IfO\025\0322/C\004\036nM_\017\\zjM\000\007r{|\b\026jg\002"));
        as1[15] = z(z("|{E)\027whC\025OsnSI\035uM_\017\\zjM\000\007r{c\004\033yg_MR}nE\002\027rM_\017\\zjM\000\007r{c\004\033yg_MRvjG\0210ja\005\005\027xn^\r\006VjB\006\032j&"));
        as1[16] = z(z("qdi\025\0340xB\005\006v2I\025\034IfO\025\032"));
        as1[17] = z(z("qdi\025\0340gN\b\025v{\026\003\006pGN\b\025v{"));
        as1[18] = z(z("qdi\025\0340mD\025\006qb\026\002\035p{J\b\034{}\005\003\035j{D\f_+"));
        as1[19] = z(z("qdi\025\0340lN\017\006{}s\\\021qa_\000\033pjYO\005wk_\tX/9\004PB."));
        as1[20] = z(z("}nE\002\027rM_\017\\ifO\025\032#m_\017%wk_\t"));
        as1[21] = z(z("}nE\002\027rM_\017\\vjB\006\032j2I\025\034VjB\006\032j"));
        as1[22] = z(z("}nE\002\027rM_\017\\j`[\\\035uM_\017\\j`["));
        as1[23] = z(z("}nE\002\027rM_\017\\}jE\025\027lW\026\002\035p{J\b\034{}\005\026\033z{CKG. \032QB"));
        as1[24] = z(z("vjG\0210ja\005\026\033z{C\\\020ja|\b\026jg"));
        as1[25] = z(z("vjG\0210ja\005\t\027whC\025O|{E)\027whC\025"));
        as1[26] = z(z("vjG\0210ja\005\025\035n2D\n0ja\005\025\035n"));
        as1[27] = z(z("vjG\0210ja\005\002\027p{N\023*#lD\017\006\177fE\004\0000xB\005\006v%\023U]/?\033"));
        o = as1;
        String as2[] = new String[3];
        as2[0] = z(z("nnY\000\037ZfX\021\036\177v\005\025\035n2\032"));
        as2[1] = z(z("nnY\000\037ZfX\021\036\177v\005\r\027x{\026S"));
        as2[2] = z(z("nnY\000\037ZfX\021\036\177v\005\023\033yg_\\\021qa_\000\033pjYO\000whC\025_,"));
        p = as2;
    }
}